<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('rbac/index')}">分公司分配</a></li>
		</ul>
		<form class="form-horizontal js-ajax-form" action="{:U('Bdrunpeople/user_company_b')}" method="post">
			<fieldset>
				<div class="control-group">
					<label class="control-label">{:L('MOBILE')}:</label>
					<div class="controls">
						{$data.mobile}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">资料提交时间:</label>
					<div class="controls">
						{$data.mater_submit_time}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">审核时间:</label>
					<div class="controls">
						{$data.audit_time}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">{:L('DISPATCH_NAME')}:</label>
					<div class="controls">
						{$data.dispatch_name}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">{:L('AVATAR')}:</label>
					<div class="controls">
						<img width="25" height="25" src="{$data.avatar}" />
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">{:L('CERT_NUMBER')}:</label>
					<div class="controls">
						{$data.cert_number}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">{:L('CONVEYANCE')}:</label>
					<div class="controls">
						{$data['conveyance_id']|getConveyanceName}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">城市:</label>
					<div class="controls">
						{$data['city_id']|getCityName}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">分公司:</label>
					<div class="controls">
					<select name="company_branch" id="company_branch">
						<volist name="branch_data" id="vo">
							<php>if($data['company_branch']==$vo['id']){</php>
							<option name="company_branch" selected="selected" value={$vo['id']}>{$vo['b_name']}</option>
							<php>}else{</php>
							<option name="company_branch" value={$vo['id']}>{$vo['b_name']}</option>
							<php>}</php>
						</volist>
					</select>
						</div>
				</div>
			</fieldset>
			<div class="form-actions">
				<input type="hidden" name="id" value="{$data.dispatch_id}"/>
				<input type="hidden" name="formget[job_number]" value="{$formget.job_number}"/>
				<input type="hidden" name="formget[dispatch_name]" value="{$formget.dispatch_name}"/>
				<input type="hidden" name="formget[is_accept_dispatch]" value="{$formget.is_accept_dispatch}"/>
				<input type="hidden" name="formget[is_audit]" value="{$formget.is_audit}"/>
				<input type="hidden" name="formget[is_sign]" value="{$formget.is_sign}"/>
				<input type="hidden" name="formget[company_id]" value="{$formget.company_id}"/>
				<input type="hidden" name="formget[work_status]" value="{$formget.work_status}"/>
				<input type="hidden" name="formget[mobile]" value="{$formget.mobile}"/>
				<button type="submit" class="btn btn-primary  js-ajax-submit">{:L('SAVE')}</button>
				<a class="btn" href="{:U('Bdrunpeople/user',array('formget'=>$formget))}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>

</body>
</html>